
import Helper from 'source/mixins/helper.mixin'

export default {

    paymentAmount (options) {
        return Helper.helperFnPromise('requestPayment', options);
    },

}

/**
 * @param {Number} len 长度
 * @return {String}
 * */
function randomNumber (len) {
    let result = '';
    while (len > 0) {
        len--;
        result += Math.floor(Math.random() * 10);
    }
    return result
}
